import ElementPlus from 'element-plus'
import locale from 'element-plus/es/locale/lang/zh-cn'
import Cookies from 'js-cookie'

export default function installElementPlus(app) {
    app.use(ElementPlus, {
        locale,
        size: Cookies.get('size') || 'default'
    })
}
